<div class="step">
    <ul>
      <li class="current"><em>1</em>检测环境</li>
      <li><em>2</em>创建数据</li>
      <li><em>3</em>完成安装</li>
    </ul>
</div>
<div class="server">
    <table width="100%">
        <tr>
            <td class="td1">环境检测</td>
            <td class="td1" width="25%">推荐配置</td>
            <td class="td1" width="25%">当前状态</td>
            <td class="td1" width="25%">最低要求</td>
        </tr>
        <tr>
            <td>操作系统</td>
            <td>类UNIX</td>
            <td>{$system_info}</td>
            <td>不限制</td>
        </tr>
        <tr>
            <td>PHP版本</td>
            <td>&gt;=5.3.x</td>
            <td>{$php_version}</td>
            <td>5.3.0</td>
        </tr>
        <tr>
            <td>服务器</td>
            <td>主流服务器</td>
            <td>{$server_info}</td>
            <td>不限制</td>
        </tr>
        <tr>
            <td>Mysql版本（client）</td>
            <td>>5.x.x</td>
            <td>{$mysql_info}</td>
            <td>4.2</td>
        </tr>
        <tr>
            <td>附件上传</td>
            <td>>2M</td>
            <td>{$upload_info}</td>
            <td>不限制</td>
        </tr>
        <tr>
            <td>Session</td>
            <td>开启</td>
            <td>{$session_info}</td>
            <td>开启</td>
        </tr>
        <tr>
            <td>GD库</td>
            <td>开启</td>
            <td>{$gd_info}</td>
            <td>开启</td>
        </tr>        
    </table>
    <table width="100%">
        <tr>
            <td class="td1">目录、文件权限检查</td>
            <td class="td1" width="25%">写入</td>
            <td class="td1" width="25%">读取</td>
        </tr>
        <volist name="directories_state" id="dir_state">
        <tr>
            <td>{$dir_state['dir_name']}</td>
            <td>{$dir_state['writable']}</td>
            <td>{$dir_state['readable']}</td>
        </tr>
        </volist>
    </table>
</div>

<div class="bottom tac">
  <a href="{:U('CheckEnv/index')}" class="btn">重新检测</a><a href="{:U('Install/index')}" class="btn">下一步</a>
</div>
